average-case complexity